From 0e46f4cc36148ffc8df6b814d9d6b9b132ce6fc8 Mon Sep 17 00:00:00 2001 From: "Jan D." Date: Tue, 31 Jul 2012 21:23:33 +0200 Subject: [PATCH] * TODO (NS port): Add text about event loop. --- etc/ChangeLog | 4 ++++ etc/TODO | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/etc/ChangeLog b/etc/ChangeLog index d6204d847d4..64f5f407203 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2012-07-31 Jan Djärv + + * TODO (NS port): Add text about event loop. + 2012-07-29 Paul Eggert deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) diff --git a/etc/TODO b/etc/TODO index e4c0092c7e5..2fcc8a69311 100644 --- a/etc/TODO +++ b/etc/TODO @@ -614,6 +614,15 @@ http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02234.html *** Bugs +**** The event loop relies on polling and that hurts performance. + A better strategy is to have the select part in its own thread and let + the main thread communicate with that thread (see how Gdk does it for + inspiration). A problem is that redraw don't happen during resize, + because we can't break out from the NSapp loop during resize. + There is a special trick to detect mouse press in the lower right + corner and track mouse movements, but this does not work well, and is + not scalable to the new Lion "resize on every window edge" behavior. + **** (mouse-avoidance-mode 'banish) then minimize Emacs, will pop window back up on top of all others -- 2.30.2